<?php

namespace App;

class Type extends BaseModel
{
    const TABLE = 'photo_types';

    protected $table = self::TABLE;

    public function photos()
    {
        return $this->hasMany(Photo::class,'type_id');
    }

}
